﻿#region using
using Linq2Crm.ObjectModel.Attributes;
using SilverCrmSoap.CrmSdk;


#endregion

namespace SLApp_Test.Model
{
   [CrmEntityMapping("invoice", "name", "invoiceid")]
   public class Invoice : BaseEntity
   {
      [CrmFieldMapping("customerid")]
      public EntityReference Customer { get; set; }

      [CrmFieldMapping("transactioncurrencyid")]
      public EntityReference Currency { get; set; }

      [CrmFieldMapping("invoicenumber")]
      public string InvoiceNumber { get; set; }
   }
}